import request from '@/utils/request'

const api = {
  img: 'system/common/upload/img',
}

/**
 * 上传图片
 * @param {*} parameter
 * @returns
 */
export function uploadImg(parameter) {
  return request({
    url: api.img,
    method: 'post',
    data: parameter,
  })
}
